package com.example.dianproject.service;

import com.example.dianproject.entity.MeterReading;
import java.time.LocalDate;
import java.util.List;

public interface MeterReadingService {
    MeterReading save(MeterReading meterReading);
    
    MeterReading findById(Long id);
    
    List<MeterReading> findAll();
    
    void deleteById(Long id);
    
    List<MeterReading> findByMeterId(Long meterId);
    
    List<MeterReading> findByDateRange(LocalDate startDate, LocalDate endDate);
    
    MeterReading getLatestReading(Long meterId);

    Long getPendingReadingsCount();

    Long getCurrentMonthReadingsCount();

    List<MeterReading> getRecentReadings(int limit);
} 